/**
 * Created by Administrator on 2025/5/7.
 * */
#ifndef DATADISPATCHER_ERA
#define DATADISPATCHER_ERA

#include "TaskModule.h"
#include "../GlobalParameters.h"

extern "C" BaseObject *createDataDispatcher();
extern "C" void destroyDataDispatcher(BaseObject *p);

class DataDispatcher : public TaskModule {
public:
DataDispatcher();

~DataDispatcher();

void onCompute(buffer_table_t *input, buffer_table_t *output) override;
};

#endif //TASK2_ERA
